package com.ctshk.rpc.custom.dto.quotation;

import com.ctshk.rpc.custom.req.ContactReq;
import com.ctshk.rpc.custom.req.CustomerTypeReq;
import com.ctshk.rpc.custom.req.QuotationTouristTypeReq;
import com.ctshk.rpc.custom.req.quotation.CollectionFeeReq;
import com.ctshk.rpc.custom.req.quotation.FreeQuoteReqPackageReq;
import com.ctshk.rpc.custom.req.quotation.TripQuoteReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 报价单编辑页面详情dto
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-01-27
 */
@Data
@ApiModel(value="QuotationEditInfoDTO", description="报价单编辑页面详情dto")
public class QuotationEditInfoDTO implements Serializable {
    @ApiModelProperty(value = "报价单ID")
    private Long id;
    @ApiModelProperty(value = "询价单ID")
    private Long inquiryId;
    @ApiModelProperty(value = "客户类型")
    private CustomerTypeReq customerTypeReq;
    @ApiModelProperty(value = "联络人")
    private ContactReq contactReq;
    @ApiModelProperty(value = "联络人性别)")
    private Long contactGender;
    @ApiModelProperty(value = "联络人联系方式(英文逗号隔开)")
    private String contactTelephones;
    @ApiModelProperty(value = "联系邮箱")
    private String contactEmail;
    @ApiModelProperty(value = "内部备注")
    private String internalRemark;
    @ApiModelProperty(value = "报价标题")
    private String quotationTitle;
    @ApiModelProperty(value = "报价说明")
    private String instruction;
    @ApiModelProperty(value = "报价方式(1 自由报价,2 行程报价)")
    private Integer quotationType;
    @ApiModelProperty(value = "团费类型(1 人均,2 服务费)")
    private Integer groupFeeType;
    @ApiModelProperty(value = "报价单状态(1 继续询价,2 已报价,3 待开团,4 已开团)")
    private Integer quotationStatus;
    @ApiModelProperty(value = "报价有效期起始")
    private LocalDate beginDate;
    @ApiModelProperty(value = "报价有效期结束")
    private LocalDate endDate;
    @ApiModelProperty(value = "代收费用")
    private List<CollectionFeeReq> collectionFees;
    @ApiModelProperty(value = "自由报价套餐数组")
    private List<FreeQuoteReqPackageReq> reqPackages;
    @ApiModelProperty(value = "行程报价套餐数组")
    private List<TripQuoteReq> tripQuoteReqs;
    @ApiModelProperty(value = "旅客人数数组-行程报价套餐里面的旅客")
    private List<QuotationTouristTypeReq> touristTypes;
}
